package com.haiberg.framework.om;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

@Entity
@Table(name="dms_files", catalog="public")
public class DmsFiles  implements java.io.Serializable {
	private Integer id;
	private String name;
	private String dataPath;
	private String dmsFileType;
	private Long sizeInBytes;
	private String fileFolder;
	
	@Id
	@SequenceGenerator(name="dms_files_id_seq",sequenceName="dms_files_id_seq")
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	@Column(name="name")
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	@Column(name="dataPath")
	public String getDataPath() {
		return dataPath;
	}
	public void setDataPath(String dataPath) {
		this.dataPath = dataPath;
	}
	@Column(name="dms_filetype")
	public String getDmsFileType() {
		return dmsFileType;
	}
	public void setDmsFileType(String dmsFileType) {
		this.dmsFileType = dmsFileType;
	}
	@Column(name="size_in_bytes")
	public Long getSizeInBytes() {
		return sizeInBytes;
	}
	public void setSizeInBytes(Long sizeInBytes) {
		this.sizeInBytes = sizeInBytes;
	}
	@Column(name="file_folder")
	public String getFileFolder() {
		return fileFolder;
	}
	public void setFileFolder(String fileFolder) {
		this.fileFolder = fileFolder;
	}
}
